package com.itheima.pai.exception.demo01;

public class ExceptionDemo01 {

    public static void main(String[] args) {

        int a = 23;
        int b = 2;
        int[] arr = {1, 2};

        try{

            System.out.println(a / b);

            System.out.println(arr[3]);

        }catch (Exception e){
            System.out.println("程序出现问题了.............");
        }finally {
            System.out.println("finally子句中的代码被执行了...............");
        }

        System.out.println("程序结束了...............");

    }

}
